package com.ruicar.afs.cloud.contract.gateway;

import com.ruicar.afs.cloud.common.core.security.annotation.EnableAfsFeignClients;
import com.ruicar.afs.cloud.common.core.security.annotation.EnableAfsResourceServer;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;

/**
 * The type AfsContractGatewayApplication
 * <p>Description: </p>
 *
 * @author Fzero
 * @version 1.0
 * @date Created on 2020.07.20 21:17:41
 * @since 1.0
 */
@SpringCloudApplication
@EnableAfsFeignClients
@EnableAfsResourceServer(details = true)
@Configuration
@EnableDiscoveryClient
public class AfsContractGatewayApplication {
    /**
     * Main
     *
     * @param args args
     */
    public static void main(String[] args) {
        SpringApplication.run(AfsContractGatewayApplication.class, args);
    }
}
